/*
 * @Author: zhao 13370229059@163.com
 * @Date: 2024-04-19 21:22:12
 * @LastEditors: zhao 13370229059@163.com
 * @LastEditTime: 2024-04-19 23:42:40
 * @FilePath: \work\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import App from './App';
import uvUI from '@/uni_modules/uv-ui-tools';
import { Request } from '@/util/request/index';
import store from './store';
// #ifndef VUE3
import Vue from 'vue';
import './uni.promisify.adaptor';
Vue.config.productionTip = false;
App.mpType = 'app';
const app = new Vue({
  ...App
});
app.use(uvUI);
app.$mount();
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue';
export function createApp() {
  const app = createSSRApp(App);
  app.use(store);
  Request(app);
  return {
    app
  };
}
// #endif
